<?php
require_once(get_include_path().'/libraries/load.php');

$mail = new PHPMailer();
$mail->Host = "localhost";
 
$mail->From = "hernan@admotion.com.ar";
$mail->FromName = "Nombre del Remitente";
$mail->Subject = "Subject del correo";
$mail->AddAddress("hernan@santanopublicidad.com.ar","Nombre 01");
$mail->Mailer = "smtp"; 
$mail->Host = "mail.admotion.com.ar"; 
$mail->SMTPAuth = true; 
$mail->Username = "hernan@admotion.com.ar"; 
$mail->Password = "worm07"; 
/*$mail->AddAddress("destino2@correo.com","Nombre 02");
$mail->AddCC("usuariocopia@correo.com");
$mail->AddBCC("usuariocopiaoculta@correo.com");*/
 
$body  = "Hola <strong>amigo</strong><br>";
$body .= "probando <i>PHPMailer<i>.<br><br>";
$body .= "<font color='red'>Saludos</font>";
$mail->Body = $body;
$mail->AltBody = "Hola amigo\nprobando PHPMailer\n\nSaludos";
$mail->Send();

?>